
package ueg.org.trabalho.view;

import java.awt.Dimension;

public class GUISobre extends javax.swing.JInternalFrame {

 
    public GUISobre() {
        initComponents();
    }

    public void setPosicao() {
        Dimension d = this.getDesktopPane().getSize();
        this.setLocation((d.width - this.getSize().width) / 2,
                (d.height - this.getSize().height) / 2);
    }
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Sobre = new javax.swing.JScrollPane();
        tpSobre = new javax.swing.JTextPane();
        lbSobre = new javax.swing.JLabel();
        lbSobre1 = new javax.swing.JLabel();

        setClosable(true);

        tpSobre.setEditable(false);
        tpSobre.setText("Desenvolvido na IDE 7.2.1 NetBeans\n\nBanco de Dados - PostgreSQL 9.3\n\nHibernate 4.3.4\n\nAluno(s): Jonathan Camargo, Rodrigo Oliveira\n\nProfessor: Robson Gonçalves");
        Sobre.setViewportView(tpSobre);

        lbSobre.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        lbSobre.setText("Sobre: ");

        lbSobre1.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        lbSobre1.setText("Trabalho Programação II");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(Sobre, javax.swing.GroupLayout.DEFAULT_SIZE, 514, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(lbSobre)
                        .addGap(0, 0, 0)
                        .addComponent(lbSobre1)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbSobre)
                    .addComponent(lbSobre1))
                .addGap(18, 18, 18)
                .addComponent(Sobre, javax.swing.GroupLayout.PREFERRED_SIZE, 185, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(57, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane Sobre;
    private javax.swing.JLabel lbSobre;
    private javax.swing.JLabel lbSobre1;
    private javax.swing.JTextPane tpSobre;
    // End of variables declaration//GEN-END:variables
}
